package org.hk.springMVC.service.impl;

import org.hk.springMVC.bean.Car;
import org.hk.springMVC.dao.CarDao;
import org.hk.springMVC.service.CarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: CarServiceImpl
 * @Date: 2025/7/12   13:25
 * @Description: 实现类
 * @Author: hk
 */
@Service
public class CarServiceImpl implements CarService {
    @Autowired
    private CarDao carDao;

    public Car selectCarInfo(Long id) {
        return carDao.selectById(id);

    }
}
